package com.hzhk.happyrent.bean.card;

import java.util.List;

/**
 * Created by soft_zzc on 2017/11/25.
 */

public class BankHotModel {

    /**
     * errCode : 0
     * message : success
     * data : {"bank":[{"id":"1","title":"中国银行","image":"http://oneman.oss-cn-shenzhen.aliyuncs.com/upload/20171123/151140613547679.png","desc":"周五买一送一","status":"1","created_at":"1511540801","updated_at":null},{"id":"2","title":"建设银行","image":"http://oneman.oss-cn-shenzhen.aliyuncs.com/upload/20171123/151140615780153.png","desc":"周五买一送一","status":"1","created_at":"1511540835","updated_at":null},{"id":"3","title":"工商银行","image":"http://oneman.oss-cn-shenzhen.aliyuncs.com/upload/20171123/151140622038001.png","desc":"周五买一送一","status":"1","created_at":"1511541450","updated_at":null},{"id":"4","title":"农业银行","image":"http://oneman.oss-cn-shenzhen.aliyuncs.com/upload/20171123/151140622038001.png","desc":"周五买一送一","status":"1","created_at":"1511541461","updated_at":null},{"id":"5","title":"交通银行","image":"http://oneman.oss-cn-shenzhen.aliyuncs.com/upload/20171123/151140629799935.png","desc":"周五买一送一","status":"1","created_at":"1511541648","updated_at":null}]}
     * time : 1511613486
     */

    private int errCode;
    private String message;
    private DataBean data;
    private int time;

    public int getErrCode() {
        return errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public static class DataBean {
        private List<BankBean> bank;

        public List<BankBean> getBank() {
            return bank;
        }

        public void setBank(List<BankBean> bank) {
            this.bank = bank;
        }

        public static class BankBean {
            /**
             * id : 1
             * title : 中国银行
             * image : http://oneman.oss-cn-shenzhen.aliyuncs.com/upload/20171123/151140613547679.png
             * desc : 周五买一送一
             * status : 1
             * created_at : 1511540801
             * updated_at : null
             */

            private String id;
            private String title;
            private String image;
            private String desc;
            private String status;
            private String created_at;
            private Object updated_at;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public Object getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(Object updated_at) {
                this.updated_at = updated_at;
            }
        }
    }
}
